<%--
  Created by IntelliJ IDEA.
  User: 59334
  Date: 2022-05-26
  Time: 22:54
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ page import="beans.Account"%>
<!DOCTYPE html>
<html>

<head>
<meta charset="utf-8">
<title>个人信息</title>
</head>

<body>
	<div style="width: 100%; border-bottom: 1px solid #d1d6d8;">
		<div style="margin-top: 20px; margin-left: 30px; margin-bottom: 10px;">
			<span style="font-size: 40px;">员&nbsp;工&nbsp;信&nbsp;息</span>
		</div>
	</div>
	</div>
	<%
	Account account = null;
	if (request.getSession().getAttribute("account") == null) {
		out.print("<script type='text/javascript'>alert('获取信息失败重新登录');window.location.href='../login.jsp'</script>");
	} else {
		account = (Account) session.getAttribute("account");
	}
	%>
	<div style="width: 100%;">

			<div style="width: 1000px; height: 60px; border-radius: 1px;">
				<div class="C_block">
					<div style="height: 30px; font-weight: bolder;">账号:</div>
					<div style="height: 30px;">
						<%=account.getAno()%>
					</div>
				</div>
				<div class="C_block">
					<div style="height: 30px; font-weight: bolder;">密码:</div>
					<div style="height: 30px;">
						<%=account.getPassWord()%>
					</div>
				</div>
			</div>
			<div style="width: 1000px; height: 60px; border-radius: 1px;">
				<div class="C_block">
					<div style="height: 30px; font-weight: bolder;">姓名:</div>
					<div style="height: 30px;">
						<%=account.getAccountName()%>
					</div>
				</div>
				<div class="C_block">
					<div style="height: 30px; font-weight: bolder;">性别:</div>
					<div style="height: 30px;">
						<%=account.getSex()%>
					</div>
				</div>
			</div>
			<div style="width: 1000px; height: 60px; border-radius: 1px;">
				<div class="C_block">
					<div style="height: 30px; font-weight: bolder;">出生日期:</div>
					<div style="height: 30px;">
						<%=account.getBirthdate()%>
					</div>
				</div>
				<div class="C_block">
					<div style="height: 30px; font-weight: bolder;">职位:</div>
					<div style="height: 30px;">
						<%=account.getPosition()%>
					</div>
				</div>
			</div>
			<div style="width: 1000px; height: 60px; border-radius: 1px;">
				<div class="C_block">
					<div style="height: 30px; font-weight: bolder;">部门:</div>
					<div style="height: 30px;">
						<%=account.getdepartment()%>
					</div>
				</div>
				<div class="C_block">
					<div style="height: 30px; font-weight: bolder;">电话号码:</div>
					<div style="height: 30px;">
						<%=account.getPhoneNumber()%>
					</div>
				</div>
			</div>
			<div style="width: 1000px; height: 90px;">
				<div
					style="width: 100%; float: left; height: 60px; border-radius: 1px;">
					<div style="height: 30px; font-weight: bolder;">居住地址:</div>
					<div style="height: 60px;">
						<%=account.getAddress()%>
					</div>
				</div>
			</div>

			
	</div>
</body>

</html>

<style type="text/css">
/* CSS Document */
* {
	margin: 0;
	padding: 0;
}

a {
	text-decoration: none;
}

.clearfix:after {
	content: "";
	display: block;
	height: 0;
	visibility: hidden;
	clear: both;
}

.clearfix {
	*zoom: 1;
}

.C_block {
	width: 50%;
	float: left;
	height: 60px;
	border-radius: 2px;
}

body {
	background-size: cover;
	background-attachment: fixed;
}

.content {
	width: 900px;
	height: 500px;
	margin: 0 auto;
	margin-top: 40px;
	border-radius: 10px;
	background-color: white;
	transition: all 1.0s;
}

.content img {
	float: left;
	width: 200px;
	height: 200px;
	margin: 150px 0 0 80px;
	border-radius: 100px;
	/*照片格式*/
}

.content:hover {
	box-shadow: 0px 0px 20px rgba(0, 0, 0, 4.52);
} /* 添加阴影 */
.content_r {
	float: right;
	width: 500px;
	margin: 80px 60px 0 0;
	/*	文字定位*/
}

.content_l {
	float: left;
	width: 100%;
	text-align: center;
	/*	文字定位*/
}

.cc {
	margin-top: 10px;
	color: #1F2023;
	font-size: 18px;
	/* 文字格式 */
}
</style>
